package com.foreknow.elmboot.service;


import com.foreknow.elmboot.po.User;

public interface UserService {

	/**
	 * 登录
	 * @param user
	 * @return
	 */
	public User getUserByIdByPass(User user);

	/**
	 * 注册
	 * @param user
	 * @return
	 */
	public int saveUser(User user);

	/**
	 * 根据用户编号查询用户表返回的行数
	 * @param userId
	 * @return
	 */
	public int getUserById(String userId);
}
